{if $smarty.get.page == "register"}
<script type="text/javascript">
{literal}
jQuery().ready(function(){
	jQuery('#full_name').focus();
	
});
{/literal}
</script>
{/if}
<div align="left" class="bg_right_register">
	<div style="height:370px">			
			<div class="register-title">Nếu bạn chưa đăng ký?</div>
       		<div  class="register-notice">Nhập các thông tin cá nhân</div>
            {if $msg_success}
             	<div class="registerSuccess">{$msg_success}</div>
           	{/if}
        	{if $msg_register}<div class="registerSuccess">{$msg_register}</div>{/if}
            {if $show_form}
                <div class="register-field">
                    <label class="cursor" for="full_name">Họ và tên:</label>
                    <input name="full_name" type="text" value="{$error_full_name}" id="full_name" maxlength="40">
                </div>
                <div class="register-field">
                    <label  class="cursor"  for="email"><span class="require">*</span> Email :</label>
                    <input name="email" type="text" id="email"  value="{$error_email}"  >
                </div>
                <div class="register-field">
                    <label  class="cursor"  for="register_user_name"><span class="require">*</span> Tên truy cập :</label>
                    <input  name="register_user_name"  value="{$error_user_name}"  type="text" id="register_user_name" maxlength="20">
                    <span id="validateUsername"></span>
                </div>
                <div id="register_notify"></div>
                <div class="register-field">
                    <label  class="cursor"  for="register_password"><span class="require">*</span> Mật khẩu truy cập :</label>
                    <input name="register_password" type="password" id="register_password" value="{$register_password}" maxlength="100">
                </div>
                <div class="register-field">
                    <label  class="cursor"  for="confirm_password"><span class="require">*</span> Nhập lại mật khẩu :</label>
                    <input name="confirm_password" type="password" id="confirm_password" value="{$confirm_password}" maxlength="100">
                </div>
                <div class="register-field">
                    <label  class="cursor"  for="mobile_phone">Điện thoại di động :</label>
                    <input name="mobile_phone" type="text" id="mobile_phone"   value="{$error_mobile_phone}"  maxlength="20">
                </div>
                <div class="register-field">
                    <label  class="cursor"  for="captcha_register"><span class="require">*</span> Mã bảo mật:</label>
                    <div class="floatLeft"><img id="captcha_img" alt="captcha" src="captcha.php" style="margin-right:10px" width="50" height="23"/><img id="reload_button" onclick="fn_reload_captcha()" src="style/images/indicator_arrows_static.gif" title="Tạo mã khác" alt="Tạo mã khác" class="creatNewCaptchaButton"></div>
                  <input name="captcha_register" type="text" id="captcha_register" maxlength="100"  style="width:50px;">
                    
                </div>													
                <div class="register-confirm" align="left">
                    <input onclick="change_confirm()" name="confirm_register" value="1" type="checkbox" id="confirm_register" {$confirm_register_checked}/><label class="register-confirm"  for="confirm_register">Tôi đồng ý những </label><a target="_blank" href="temrs.html" id="term_condition">điều khoản của Website</a>
                    <br /><br />
                </div>			
                <div class="register-complete" align="left" style="margin-bottom:5px">
                    <input type="submit" name="submit" class="register-button-submit-disabled" id="submit"  value="Hoàn tất đăng ký" disabled="disabled" />
                </div>
			{/if}
	</div>
</div>